import axios from 'axios'
const apiUrl = window.g.baseURL;
console.log(apiUrl); 
const api = axios.create({
  // baseURL: 'https://bitpowerex.net',
  baseURL: apiUrl,
  timeout: 5000
})

api.interceptors.response.use(
  response => response,
  error => {
    
    return Promise.reject(error)
  }
)

export default {
  // 获取应用信息
 async getAppInfo() {
    return api.post('/api/download/admin/info', {
      name: "apk"
    })
  },


}